projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
890b08e
)
Fix Motif build without toolkit scroll bars
author
Po Lu
<luangruo@yahoo.com>
Thu, 3 Mar 2022 03:16:25 +0000
(11:16 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 3 Mar 2022 03:17:53 +0000
(11:17 +0800)
* src/xterm.c: Always include Xm.h on Motif.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 47f9d31ad44edd2542dec519f6c1a920de569ebe..6489a18f90479e39e93fa3b316f86b3c30a18559 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-597,13
+597,15
@@
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <cairo-xlib.h>
#endif
+#ifdef USE_MOTIF
+#include <Xm/Xm.h>
+#endif
+
#ifdef USE_X_TOOLKIT
/* Include toolkit specific headers for the scroll bar widget. */
-
#ifdef USE_TOOLKIT_SCROLL_BARS
#if defined USE_MOTIF
-#include <Xm/Xm.h> /* For LESSTIF_VERSION */
#include <Xm/ScrollBar.h>
#else /* !USE_MOTIF i.e. use Xaw */